package com.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("qc_equipment")
public class QcEquipment implements Serializable {
    private static final long serialVersionUID = -8099411186007085810L;
    @ApiModelProperty(value = "设备id",name = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "设备分类id(1.冰箱,2液氮罐，3气瓶，4培养箱，5操作台，6显微镜，7培养室，8其他仪器设备，9工作台，10常用仪器设备,11离心机)",name = "classifyId")
    private String classifyId;
    @ApiModelProperty(value = "设备名称",name = "deviceName")
    private String deviceName;
    @ApiModelProperty(value = "扫码标识",name = "scanidentify")
    private String scanidentify;
    @ApiModelProperty(value = "是否可用(0启用1禁用 默认启用后台自动生成)",name = "enable")
    private String enable;
    @ApiModelProperty(value = "修改时间后台自动生成",name = "updateTime")
    private Date updateTime;
    @ApiModelProperty(value = "修改人后台自动生成",name = "updateBy")
    private String updateBy;
    @ApiModelProperty(value = "创建人后台自动生成",name = "createBy")
    private String createBy;
    @ApiModelProperty(value = "创建时间后台自动生成",name = "createTime")
    private Date createTime;
    @ApiModelProperty(value = "购置日期",name = "purchaseDate")
    private Date purchaseDate;
    @ApiModelProperty(value = "资产编码",name = "assetsEncoding")
    private String assetsEncoding;
    @ApiModelProperty(value = "位置1:培养一室 2:培养二室 3洗精室 4胚胎库1 5胚胎库2 6胚胎库3  7气瓶室 8配液室",name = "location")
    private String location;
    @ApiModelProperty(value = "设备编号",name = "eqNo")
    private String eqNo;

    private String mt100Sn;
    private String mt300Sn;
    private String mt700Sn;

    @TableField(exist = false)
    private String userName;
}
